import request from '@/utils/request'

// 查询应用列表
export function listMessage(query) {
  return request({
    url: '/system/message/list',
    method: 'get',
    params: query
  })
}
// 根据用户查询应用列表
export function saveMessage(data) {
  return request({
    url: '/system/message/save',
    method: 'post',
    data: data
  })
}
export function updateMessage(data) {
  return request({
    url: '/system/message/update',
    method: 'post',
    data: data
  })
}

